package com.zmj.sy.mom.srv.aps.bean.entity.resource;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Comment("组")
@Getter
@Setter
@TableName("tb_group")
public class Group extends BaseEntity {

    @Comment("工作组编号")
    private String myCode;

    @Comment("工作组名称")
    private String name;

    @Comment("工作组备注")
    private String remark;

    @Comment("工作组类型 1员工组 2工位组 必须传")
    private Integer type;

    @Comment("排序")
    private Integer seq;

    @Comment("跨别ID")
    private Integer spanId;

    @Comment("跨别编号")
    private String spanCode;

    @Comment("车间标题")
    private String workshopTaskTitleVal;

    @Comment("开报工模板")
    private String startReportWorkVal;

    @Comment("班组Id")
    private Integer teamId;

    @Comment("班组名称")
    private String teamName;

    @Comment("工作能力")
    private BigDecimal workAbility;

    @Comment("班制ID")
    private Integer shiftTypeId;

    @Comment("单班额定人员数量")
    private BigDecimal userCount;

    @Comment("生产线")
    private Integer lineId;

    @Comment("日计划审核标志 1手动 2自动")
    private Integer autoCheck;

    @Comment("日计划审核人员")
    private String autoCheckUser;

    @Comment("生产能力")
    private BigDecimal prodAbility;
}
